Build with --disable-pcre2grep-callout:
authorJeremy Bicha <jbicha@debian.org>
Wed, 23 Jan 2019 13:55:23 +0000 (08:55 -0500)
committerJeremy Bicha <jbicha@debian.org>
Wed, 23 Jan 2019 14:09:07 +0000 (09:09 -0500)
A grep tool should not be expected to execute commands

Closes: #920273
LP: #1636666

Gbp-Dch: Full

debian/rules

index ca8d46cf0ec2cefcf7646ea7fbb1c4e750ddbcf2..a68760a361c494ff281a1db59caa902be2fff3ad 100755 (executable)
@@ -11,7 +11,7 @@ include /usr/share/dpkg/default.mk
 export DEB_CFLAGS_MAINT_APPEND = -Dregcomp=PCRE2regcomp -Dregexec=PCRE2regexec -Dregerror=PCRE2regerror -Dregfree=PCRE2regfree
 
 
-deb_maint_conf_args = --enable-pcre2-16 --enable-pcre2-32
+deb_maint_conf_args = --enable-pcre2-16 --enable-pcre2-32 --disable-pcre2grep-callout
 #enable JIT only on architectures that support it (see pcre2jit.3)
 ifneq ($(filter i386 amd64 armel armhf powerpc sparc arm64 ppc64 ppc64el, $(DEB_HOST_ARCH)),)
 deb_maint_conf_args +=--enable-jit